.class Les/bx$l;
.super Ljava/lang/Object;
.source "UIControllerImplV4.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/bx;->h(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/FileGridViewWrapper;

.field final synthetic b:Les/bx;


# direct methods
.method constructor <init>(Les/bx;Lcom/estrongs/android/view/FileGridViewWrapper;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/bx$l;->b:Les/bx;

    iput-object p2, p0, Les/bx$l;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    .line 1
    iget-object p1, p0, Les/bx$l;->b:Les/bx;

    invoke-static {p1}, Les/bx;->b(Les/bx;)Landroid/widget/EditText;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    iget-object p1, p0, Les/bx$l;->b:Les/bx;

    invoke-static {p1}, Les/bx;->b(Les/bx;)Landroid/widget/EditText;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-interface {p1}, Landroid/text/Editable;->length()I

    move-result p1

    if-nez p1, :cond_1

    :cond_0
    iget-object p1, p0, Les/bx$l;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    .line 2
    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->W()Ljava/lang/String;

    move-result-object p1

    const-string v1, "all"

    invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 3
    iget-object p1, p0, Les/bx$l;->b:Les/bx;

    iget-object p1, p1, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v1, 0x7f11052d

    invoke-static {p1, v1, v0}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 4
    :cond_1
    iget-object p1, p0, Les/bx$l;->b:Les/bx;

    iget-object p1, p1, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v1, p0, Les/bx$l;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->W()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Les/bx$l;->b:Les/bx;

    invoke-static {v2}, Les/bx;->b(Les/bx;)Landroid/widget/EditText;

    move-result-object v2

    .line 5
    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    const-string v3, "externalstorage://"

    .line 6
    invoke-virtual {p1, v3, v1, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 7
    iget-object p1, p0, Les/bx$l;->b:Les/bx;

    iget-object p1, p1, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const-string v1, "input_method"

    .line 8
    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/view/inputmethod/InputMethodManager;

    .line 9
    iget-object v1, p0, Les/bx$l;->b:Les/bx;

    invoke-static {v1}, Les/bx;->b(Les/bx;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    invoke-virtual {p1, v1, v0}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    return-void
.end method
